<?php
header("refresh:1;url=index.php");
include_once "header.php";
	//清空session数组
	$_SESSION = array();
	
	//删除cookeie中的session_id
	if(isset($_COOKIE[session_name()])){
		setCookie(session_name(),'',time()-3600,'/');
	}

	//销毁所有session资源
	session_destroy();

?>
<script type="text/javascript">
</script>

<body style="width: 985px;margin: 0 auto;">
	<div style="width: 985px; height: 50px; margin: 0 auto;">
		<h1 style="text-align: center;">退出成功!</h1>
	</div>
	
</body>

<?php
include_once "bottom.php";
?>